//
//  CustomView1.m
//  22作业
//
//  Created by dllo on 16/8/14.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "CustomView1.h"
#define width self.bounds.size.width
#define height self.bounds.size.height
@implementation CustomView1

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        _label5 = [[UILabel alloc] init];
    }
    return self;
}

- (void)layoutSubviews
{
    _label5.frame = CGRectMake(width / 2 - 20, 40, 40, 20);
    [self addSubview:_label5];
}

@end
